<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
	<link rel="stylesheet" href="http://localhost/cms_edu/Template/default/css/style.css" />
<script type="text/javascript" src="http://localhost/cms_edu/Template/default/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="http://localhost/cms_edu/Template/default/js/js.js"></script>
<link rel="stylesheet" type="text/css" href="http://localhost/cms_edu/Static/hdjs/hdjs.css"/>
<script src="http://localhost/cms_edu/Static/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript">
	$(function(){
		//定义检测用户名是否存在的ajax请求地址
		var checkUser = "http://localhost/cms_edu/Index/Common/checkUser.html";
		var checkUserCode = "http://localhost/cms_edu/Index/Common/checkUserCode.html";
		$('#regForm').validate({
			username_reg : {
				rule:{
					required:true,
					ajax:{url:checkUser}
				},
				error:{
					required:'用户名必填',
				},
				success:'ok',
				message:'请填写用户名'
			},
			nickname : {
				rule:{
					required:true,
				},
				error:{
					required:'昵称必填',
				},
				success:'ok',
				message:'请填写昵称'
			},
			password_reg1 : {
				rule:{
					required:true,
					minlen:6
				},
				error:{
					required:'密码必填',
					minlen:'密码不得少于6位'
				},
				success:'ok',
				message:'请填写密码'
			},
			password_reg2 : {
				rule:{
					required:true,
					confirm:'password_reg1'
				},
				error:{
					required:'确认密码必填',
					confirm:'两次密码不相同'
				},
				success:'ok',
				message:'请填写密码'
			},
			code : {
				rule:{
					required:true,
					ajax:{url:checkUserCode}
				},
				error:{
					required:'验证码必填',
				},
				success:'ok',
				message:'请填写验证码'
			},
		})
	})
</script>
</head>
<body>
	<!-- 顶部100%灰色区域 -->
	<div id="top_dark_box">
		<!-- 中间1200px宽度区域 -->
		<div id="top_dark">
			<a href="http://localhost/cms_edu"><img src="http://localhost/cms_edu/Template/default/images/others/logo.jpg" id="logo" /></a>
			<!-- 导航菜单 -->
			<ul id="menu">
					
					<li>
						<a href="http://localhost/cms_edu/Static/default/falali/index.html">法拉利</a>
					</li>
				
	
					<li>
						<a href="http://localhost/cms_edu/Static/default/mashaladi/index.html">玛莎拉蒂</a>
					</li>
				
	
					<li>
						<a href="http://localhost/cms_edu/Static/default/paoshijie/index.html">保时捷</a>
					</li>
				
	
					<li>
						<a href="http://localhost/cms_edu/Static/default/lanbojini/index.html">兰博基尼</a>
					</li>
				
	
					<li>
						<a href="http://localhost/cms_edu/Static/default/bujiadi/index.html"> 布加迪</a>
					</li>
				
	
					<li>
						<a href="http://localhost/cms_edu/Static/default/xibeier/index.html">西尔贝</a>
					</li>
				
			</ul>
			<!-- 导航菜单结束 -->
			<!-- 用户登录 -->
			<div id="loginInfo" class='loginInfo'>
								<a href="javascript:showLoginBox()" class="top_login">用户登录</a>
				<a href="javascript:showRegBox();">注册</a>
							</div>
			<!-- 用户登录对应隐藏区域 -->
			<form id="loginForm" action="http://localhost/cms_edu/Index/Html/login.html" method="post">
			<div class="login_hide_box">
				<img src="http://localhost/cms_edu/Template/default/images/sanjiao.gif" alt="" />
				<div class="middle">
					<p>用户名：</p>
					<input type="text" name="username" class="text" />
					<p>密码：</p>
					<input type="password" name="password" class="text" />
					<input type="submit" value="" class="sub" />
				</div>
				<div class="bottom">
					<a  href="javascript:showRegBox();" class="reg">注册</a>
				</div>
			</div>
			</form>
			
			<!-- 用户注册对应隐藏区域 -->
			<form id="regForm" action="http://localhost/cms_edu/Index/Html/reg.html" method="post">	
			<div class="reg_hide_box">
				<img src="http://localhost/cms_edu/Template/default/images/sanjiao.gif" alt="" />
				<div class="middle">
					<p>用户名：<span id="hd_username_reg"></span></p>
					<input type="text" name="username_reg" class="text username" />
					<p>昵称：</p>
					<input type="text" name="nickname" class="text nickname" />
					<p>密码：</p>
					<input type="password" name="password_reg1" class="text password" />
					<p>确认密码：</p>
					<input type="password" name="password_reg2" class="text password" />
					<p>验证码：</p>
					<img src="http://localhost/cms_edu/Index/Html/code.html" id="code" onclick="this.src=this.src + '&' + Math.random()"/>
					<input type="text"  name="code" class="text password_d" />
					<input type="submit" value="注册" class="sub" />
				</div>
			</div>
			</form>
		</div>
		<!-- 中间1200px宽度区域结束 -->
	</div>
	<!-- 顶部灰色100%区域结束 -->
	
	<!-- 顶部最新消息区域 -->
	<div id="latest_news_box">
		<div id="latest_news">
			<p><span class="title">最新消息：</span>
				一个历史悠久品牌的重生</p>
		</div>
	</div>
	<!-- 顶部最新消息区域结束 -->
		
		
		
		
		
	
	<!-- 主体区域 -->
	<div id="main">
		<!-- main最上面的说明文字 -->
		    			<div class="top">以下是分类 <span>	 布加迪</span> 下的文章</div>
				
		<!-- main最上面的说明文字结束 -->

		<!-- 左侧区域 -->
		<div class="left">
			<!-- 列表页介绍 -->
			<div class="list_description">列表描述</div>
			<!-- 列表页介绍结束 -->
			<ul class="arc_list">
				
				<li>
					<div class="pic">
						<a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html"><img src="http://localhost/cms_edu/Upload/5141434050412_thumb.jpg" style="height:110px;width:150px;" /></a>
					</div>
					<h3><a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html">一个历史悠久品牌的重生</a></h3>
					<span class="date">06-12 03:20:12</span>
					<a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html" class="comment">20条评论</a>
					<span class="browse_number">0次浏览</span>
					<p class="description">1998年，大众汽车集团决定让历史悠久的布加迪品牌重新焕发活力，收购了全部商标权。

第二年，在阿尔萨斯地区的莫尔塞姆成立了大众集团法国分公司布加迪S.A.S.汽车公司</p>
				</li>
				
			</ul>

			<!-- 分页 -->
			<ul class="pagelist">
				<span class='close'>上一页</span><strong class='selfpage'>1</strong><span class='close'>下一页</span><span class='count'>[共1页] [1条记录]</span>			</ul>
			<!-- 分页结束 -->
		</div>
		<!-- 左侧区域结束 -->
		<!-- 右侧区域 -->
		<!-- 右侧区域 -->
		<div class="right">
			<div class='hd_title'>
				<strong>标签云</strong>	
			</div>
			<div id="tagBox" class='tags'>
								
					<a href="http://localhost/cms_edu/t_27.html">html</a>	
				
				
					<a href="http://localhost/cms_edu/t_26.html">js</a>	
				
				
					<a href="http://localhost/cms_edu/t_25.html">css</a>	
				
				
					<a href="http://localhost/cms_edu/t_24.html">div</a>	
				
					</div>
			<div class='hd_title'>
				<strong>热门文章</strong>	
			</div>
			<ul class='arc_list'>
				
					<li>
						<div class='image'>
							<a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html">
								<img src="http://localhost/cms_edu/Upload/5141434050412_thumb.jpg" alt=""/>
							</a>
						</div>
						<h2><a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html">一个历史悠久品牌的重生...</a></h2>
						<p>
							<em>06-12</em><span>0条评论</span>
						</p>
					</li>
				
	
			</ul>
			<div class='hd_title'>
				<strong>推荐文章</strong>	
			</div>
			
			<ul class='arc_list'>
				
					<li>
						<div class='image'>
							<a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html">
								<img src="http://localhost/cms_edu/Upload/5141434050412_thumb.jpg" alt=""/>
							</a>
						</div>
						<h2><a href="http://localhost/cms_edu/Static/default/bujiadi/arc/37.html">一个历史悠久品牌的重生...</a></h2>
						<p>
							<em>06-12</em><span>0条评论</span>
						</p>
					</li>
				
	
			
			</ul>
		</div>
		<!-- 右侧区域结束 -->
		<!-- 右侧区域结束 -->
	</div>
	<!-- 主体区域结束 -->
<!-- 底部区域 -->
	<!-- 底部浅灰色导航区域 -->
	<div id="bottom_menu_box" style="margin-top:30px;">
		<div class="bottom_menu">
				
			<dl>
				<dt><a href="http://www.ferrari.com">法拉利中国官网</a></dt>
			</dl>
           	
	
			<dl>
				<dt><a href="http://www.maserati.com.cn">玛莎拉蒂中国官网</a></dt>
			</dl>
           	
	
			<dl>
				<dt><a href="www.porsche.com/china/">保时捷中国官网</a></dt>
			</dl>
           	
	
			<dl>
				<dt><a href="http://www.lamborghini.com/cn/">兰博基尼中国官网</a></dt>
			</dl>
           	
	
			<dl>
				<dt><a href="http://www.bugatti-china.com">布加迪中国官网</a></dt>
			</dl>
           	
	
			<dl>
				<dt><a href="http://www.sscnorthamerica.com">西尔贝官网</a></dt>
			</dl>
           	
		</div>
	</div>
	<!-- 底部浅灰色导航区域结束 -->

	<!-- 底部版权区域 -->
	<div id="bottom_copyright_box">
		<div class="bottom_copyright">
			版权信息
		</div>
	</div>
	<!-- 底部版权区域结束 -->
	
</body>
</html>
